﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Routing;

namespace Sparrow.VisualStudio.Debugger.RouteVisualizer
{
    [Serializable]
    public class RouteTransporterCollection
    {
        public RouteTransporterCollection()
        {
            this.Transporters = new List<RouteTransporter>();
        }

        public List<RouteTransporter> Transporters
        {
            get;
            set;
        }

        public IEnumerable<RouteBase> Routes()
        {
            foreach (var i in Transporters)
            {
                yield return i.Deserialize();
            }
        }

        public string AppRelativeCurrentExecutionFilePath
        {
            get;
            set;
        }

        public string PathInfo
        {
            get;
            set;
        }

  
    }
}
